package com.gzhryc.system.dao.db;

import java.io.Serializable;
import java.util.Date;

import com.gzhryc.jdbc.annotaion.Column;
import com.gzhryc.jdbc.annotaion.Id;
import com.gzhryc.jdbc.annotaion.Table;

/**
 * 管理员角色
 * @author 张浩
 * @version 2016-9-1
 */
@Table(name="sys_manager_role")
public class ManagerRole implements Serializable{

	private static final long serialVersionUID = 1L;

	@Id
	protected Long id;
	
	@Column(name="role_id")
	protected Long roleId;
	
	@Column(name="manager_id")
	protected Long managerId;
	
	@Column(name="update_date",autoUpdateTime=true)
	protected Date updateDate;
	
	@Column(name="create_date")
	protected Date createDate;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getRoleId() {
		return roleId;
	}
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	public Long getManagerId() {
		return managerId;
	}
	public void setManagerId(Long managerId) {
		this.managerId = managerId;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
}
